QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport

TARGET = CnSpaceStyle
TEMPLATE = app
MOC_DIR = temp/moc
RCC_DIR = temp/rcc
UI_DIR  = temp/ui
OBJECTS_DIR = temp/obj
DESTDIR     = $$PWD/../bin

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    custom_widgets/capacitypanel.cpp \
    custom_widgets/datadispwidget.cpp \
    custom_widgets/functionbuttonspanel.cpp \
    custom_widgets/homepage.cpp \
    custom_widgets/mappanel.cpp \
    custom_widgets/plotspanel.cpp \
    custom_widgets/qcustomplot.cpp \
    custom_widgets/summarypanel.cpp \
    fonticon/iconhelper.cpp \
    custom_widgets/gaugepanel.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    custom_widgets/capacitypanel.h \
    custom_widgets/datadispwidget.h \
    custom_widgets/functionbuttonspanel.h \
    custom_widgets/homepage.h \
    custom_widgets/mappanel.h \
    custom_widgets/plotspanel.h \
    custom_widgets/qcustomplot.h \
    custom_widgets/summarypanel.h \
    fonticon/iconhelper.h \
    custom_widgets/gaugepanel.h \
    mainwindow.h \
    public_define.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    resource.qrc
